home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
AVOGADRO
/
SCIDISCS
/
DISC1
/
WIMPPOLY
/
!WimpPoly
/
DataFormat
< prev
next >
Wrap
Text File
|
1991-12-11
|
4KB
|
83 lines
DOCUMENTATION for WimpPoly - Data Format 12 Dec 1991
This is file !WimpPoly.DataFormat
DATA FORMAT
The original data files were downloaded from the PD library on JANET
address uk.ac.ukc::netlib, together with the manual and the index to the
netlib files.
The data format has been modified from that used in netlib, it now
consists of a number of fields, each with a descriptor header line
beginning with a : followed by the field name. Subsequent lines have the
data for that field, terminated either by the next field or the end of the
file, the field :EOF. Fields can be in any order. The format allows 2
views of a polyhedron, a planar net, and a 3D solid. Most datafiles have
both, either may be missing.
The fields include, but are not limited to:
name the polyhedron name all lower case < 128 characters
number the polyhedron netlib index number (0-141)
symbol the eqn(1) input for two symbols separated by a tab;
the Johnson symbol, and the Schlafli symbol
dual the name of the dual polyhedron optionally followed by
a horizontal tab and the netlib index number of the dual.
sfaces ?? none in this data
svertices ?? none in this data
vertices the first line contains the total number of vertices,
and the vertex number where the 3D vertices start.
The vertices are floating point numbers, stored one
per line as (x,y,z) coordinates separated by spaces.
Implicit vertex numbering starts at zero.
net the first line contains the number of faces and
the maximum number of vertices in a face. The remaining
lines are the faces in the planar net. Each face has a
vertex count followed by the vertex numbers. Vertices are
listed in counter-clockwise order as viewed from outside
the polyhedron.
hinges the first line contains the number of hinges in the planar
net. The remaining lines are hinge connections.
The format is face1 side1 side2 value.
Sides are numbered from zero. If the dihedral angle is
greater than pi it is a reflex or re-entrant hinge.
solid the first line contains the number of faces and the maximum
number of vertices in a face. The remaining lines are the
faces in the 3D polyhedron. Each face has a vertex count
followed by the vertex numbers. The vertices are listed in
counter-clockwise order as viewed from outside the
polyhedron.
dihedral the first line contains the number of distinct dihedrals.
Each dihedral starts on a new line and has a count and a
value. If the count is non-zero, then that many face edge
pairs (one per line) follow the dihedral value.
EOF the end of the polyhedron's description.
These added by KMC
comment ASCII characters describing the data, usually ones edited
from !polyhedra by KMC
netformulae the exact expressions from inside the [] stored with the
net vertices, written in bc(1) code with the following
function meanings:
a(x) = tan-1(x), b(x) = (x)1/3, c(x) = cos(x),
d(x) = tan(x), p = pi, q(x) = x2,
r(x) = cos-1(x), s(x) = sin(x), t = tau.
The code may include assignments but does not include white
space.